<script setup lang="ts">
import { ref, inject } from 'vue'
import stickyTool from '@molianComps/sticky-tool/index.vue'
import { globalMenu } from '../designerData'
const t:any = inject('mlLangs')
const menus = ref([{
    icon: 'style',
    text: t('globalTool.style'),
    name: 'style'
}, {
    icon: 'component',
    text: t('globalTool.component'),
    name: 'option'
},
{
    icon: 'action',
    text: t('globalTool.action'),
    name: 'action'
}, {
    icon: 'setting',
    text: t('globalTool.global'),
    name: 'global'
}
])
</script>
<template>
    <sticky-tool :list="menus" v-model="globalMenu"></sticky-tool>
</template>